﻿using System;
using System.Collections.Generic;

namespace JoyfulHomeJourney.BackEnd.Infrastructure.EFCore
{
    public partial class ProductReviews
    {
        public ProductReviews()
        {
            ReviewLikes = new HashSet<ReviewLikes>();
        }

        public string PrId { get; set; }
        public string PrProductId { get; set; }
        public string PrUser { get; set; }
        public string PrParentId { get; set; }
        public int? PrRating { get; set; }
        public string PrReviewText { get; set; }
        public int? PrIsAnonymous { get; set; }
        public DateTime? PrCreateAt { get; set; }
        public DateTime? PrUpdateAt { get; set; }

        public virtual SysProducts PrProduct { get; set; }
        public virtual SysAccounts PrUserNavigation { get; set; }
        public virtual ICollection<ReviewLikes> ReviewLikes { get; set; }
    }
}
